﻿<BasicShape x:Class="IconEditor.IconElements.MoText"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition Height="5"/>
            <RowDefinition/>
            <RowDefinition Height="5"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="5"/>
            <ColumnDefinition/>
            <ColumnDefinition Width="5"/>
        </Grid.ColumnDefinitions>

        <TextBlock x:Name="tex" Grid.Row="1" Grid.Column="1"
                 MouseLeftButtonDown="BasicShape_MouseLeftButtonDown"
                 MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                 MouseMove="BasicShape_MouseMove" />

        <Rectangle x:Name="LeftBorder"    Fill="#FFDDDDDD" Stroke="#FF000000" Cursor="SizeWE" Grid.Row="1" 
                   HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="5" 
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="TopBorder"     Fill="#FFDDDDDD" Stroke="#FF000000" Cursor="SizeNS" Grid.Column="1" 
                   HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="5"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="RightBorder"   Fill="#FFDDDDDD" Stroke="#FF000000" Cursor="SizeWE" Grid.Column="2" Grid.Row="1" 
                   HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="5"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="BottomBorder"  Fill="#FFDDDDDD" Stroke="#FF000000" Cursor="SizeNS" Grid.Row="2" Grid.Column="1" 
                   HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Height="5"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        
        <Rectangle x:Name="LeftTopBorder"    Fill="#FFBBBBBB" Stroke="#FF000000" Cursor="SizeWE" 
                   HorizontalAlignment="Left" VerticalAlignment="Top" Width="7" Height="7"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="RightTopBorder"     Fill="#FFBBBBBB" Stroke="#FF000000" Cursor="SizeNS" Grid.Column="2" 
                   HorizontalAlignment="Right"  VerticalAlignment="Top" Width="7" Height="7"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="LeftBottomBorder"   Fill="#FFBBBBBB" Stroke="#FF000000" Cursor="SizeWE" Grid.Row="2" 
                   HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="7" Height="7"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
        <Rectangle x:Name="RightBottomBorder"  Fill="#FFBBBBBB" Stroke="#FF000000" Cursor="SizeNS" Grid.Row="2" Grid.Column="2" 
                   HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="7" Height="7"
                   MouseLeftButtonDown="BasicShape_MouseLeftButtonDown" 
                   MouseLeftButtonUp="BasicShape_MouseLeftButtonUp"
                   MouseMove="Resize_MouseMove"/>
    </Grid>
</BasicShape>